package com.yanxiaohui;

import com.yanxiaohui.config.order.OrderConfig;
import com.yanxiaohui.config.user.UserConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Hello world!
 *
 */
@SpringBootApplication
@EnableConfigurationProperties({OrderConfig.class, UserConfig.class})
public class App {
    public static void main( String[] args ){
        SpringApplication.run(App.class);
    }
}
